package com.ps.util;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;


import org.apache.log4j.Logger;







public class R {
	private static final Logger log = Logger
	.getLogger(R.class);
    private static final String R_STRING_PATH = "/config/string.properties";
    public static final Properties string = initString() ;

    
    private static final Properties initString()  {
    	InputStream  source  = R.class.getResourceAsStream(R_STRING_PATH);
    	Properties p = new Properties();
    	try {
			p.load(source);
		} catch (Exception e) {
			e.printStackTrace();
			//log.fatal("load string resouse exception ", e);
		}
    	return p;
    }

}
